package com.iuhao.web.model.testModel;

import java.util.ArrayList;

/**
 * Created by yanhao on 2017/12/1.
 */
public class TestString {
    public static void main(String[] args) {
        ArrayList<Object> list = new ArrayList<>(10);


        StringBuilder sdb = new StringBuilder();
        StringBuilder sdb1=new StringBuilder("yanhao");
        for ( int t = 0; t < 4; t++ ) {
            sdb= sdb.append("yanhao");

            sdb.append(",");
        }
        sdb.deleteCharAt(sdb.lastIndexOf(","));

        System.out.println(sdb);

    }


}
